package framework;
/*
 * The class models a folder item.
 */
public class FolderItem {
	
	/*
	 * The name of a folder item.
	 */
	private String name;
	
	/*
	 * Construct a <code>FolderItem</code> object.
	 * 
	 * @param initialName the name of the folder item.
	 */
	public FolderItem(String initialName) {
		name = initialName;
	}
	
	/*
	 * Returns specified name of this folder item.
	 * 
	 * @return the specified name of this folder item.
	 */
	public String getName() {
		return name;
	}

	/*
	 * Set a new name of folder item.
	 * @param newName the new name of the folder item.
	 */
	public void setName(String newName) {
		name = newName;
	}
}
